<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!doctype html>
<html>
	<head>
	 <%@include file="./headJsp/meta.jsp" %>
	 <%@include file="./headJsp/tag.jsp" %>
	</head>
	<script>
	//页面加载 
	$(function(){
		hello();
	});
	//发送ajax
	function TestAjax()
	{
		$.post("${MAIN_URL}/yq/toTestAjax.action",{a:"1"},function(msg){
			if(msg=="true")
			{
				alert("测试成功");
			}else
			{
				alert("测试失败");
			}
	    });
	}
	</script>
	<body>
		success happy!!!!
		<input type="button" value="testAjax" onClick="TestAjax();"/>
	</body>
</html>
